package com.hjy.controller;

import com.hjy.annotation.RequestMapping;
import com.hjy.annotation.ResponseBody;
import com.hjy.pojo.User;

public class Hello2Controller {
    @RequestMapping("/getUser")
    @ResponseBody
    public User getUser() {
        User user = new User();
        user.setPassword("23123123");
        user.setUsername("hjy");
        return user;
    }
}
